package u.can.i.up;

import java.util.List;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import u.can.i.up.db.mongo.AppAntivirusResult;
import u.can.i.up.db.mongo.AppAntivirusResultService;

public class VirusCounter {
	
	static Logger logger = LogManager.getLogger();

	public static void main(String[] args) {
		AppAntivirusResultService appAntivirusResultService = new AppAntivirusResultService();
		List<AppAntivirusResult>  appAntivirusResultList= appAntivirusResultService.getAppAntivirusResultsByPositives(20);
		logger.info("" + appAntivirusResultList.size());
	}
}
